package kc0804;

class Container2<Z, V>
{
  private Z key;
  private V value;
  
  public Container2(Z k, V v)
  {
    this.key = k;
    this.value = v;
  }
  
  public Z getKey()
  {
    return this.key;
  }
  
  public void setKey(Z key)
  {
    this.key = key;
  }
  
  public V getValue()
  {
    return this.value;
  }
  
  public void setValue(V value)
  {
    this.value = value;
  }
}
